<base>
ページ内のbase urlを指定する
ページ内に含まれる相対pathが、このbase urlに紐づく
ページの中で1箇所だけ指定する
mdn
例
以下のように書いていた場合、
code:html
<base href="https://example.a.com/">
<a href="/about">About</a>
<a href="https://example.b.com/main">main</a>
このAboutを踏むと、https://example.a.com/aboutに遷移する
mainの方は、絶対pathなので影響はない
参考
baseタグ:基準となるURLを指定 | HTMLリファレンス
/mrsekut-book-4862465277/105